import pandas as pd
from pitchSrc.tools.smoothDecorator import SmoothDecorator
from common.config import pitchConfig as Config

from pitchSrc.tools.loadFile import toCsv,toAttrCsv

@SmoothDecorator.smooth
# @SmoothDecorator.curveSmooth
def onlSmoothProcess(X):
    print('smoothProcess 进行中................')
    return X

def smoothProcess():
    toCsv(Config.onlGroupProcess, Config.onlSmoothProcess, onlSmoothProcess)
    toAttrCsv(Config.onlSmoothProcess, Config.onlSmoothAttr)
    print('smoothProcess 完毕................')
    # show3dFig(Config.hisSmoothProcess)
if __name__ == '__main__':


    smoothProcess()